-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
record: added a function to convert "total hits" for Elasticsearch #260
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, but seems to be a little bit overkill to create a pipe which is not attended to be used in template. Moreover, the pipe is used in only one component, so I think it would be better to create a method in the component instead.
4bdd56c
to
bb3441e
Compare
I changed this to a function. |
bb3441e
to
00445b6
Compare
projects/rero/ng-core/src/lib/record/search/record-search.component.ts
Outdated
Show resolved
Hide resolved
projects/rero/ng-core/src/lib/record/search/record-search.component.ts
Outdated
Show resolved
Hide resolved
df0a7fb
to
d70e3bf
Compare
This function allows to convert the total hits to keep the compatibility between versions 6 and 7 of Elasticsearch. Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
d70e3bf
to
26b5ff2
Compare
@Garfield-fr Less important than for |
Perhaps it is useful for ui packages. Maybe. |
This function allows to convert the total hits to keep the compatibility between versions 6 and 7 of Elasticsearch.
Co-Authored-by: Bertrand Zuchuat bertrand.zuchuat@rero.ch
Why are you opening this PR?
Code review check list